﻿//==============================================================================  
//Copyright (C) 2012-2015 9UN.ORG. All rights reserved. 
//GUID：46172595-6b69-4526-b9da-426d663f5b05
//CLR Version: 4.0.30319.18033
//Code Author：Kevin Wang
//Contact：Email(Admin@9un.org),QQ(265382 or 74344)
//Filename：BasicVideoInformation
//Namespace：RuanRang.Media.Core.MediaInfo
//Functions：BasicVideoInformation  
//Created by Kevin Wang at 2013/2/2 23:05:09 http://blog.9un.org
//============================================================================== 

namespace RuanRang.Media.MediaInfo
{
    /// <summary>
    /// The most important information about video
    /// </summary>
    public struct BasicVideoInformation {
        /// <summary>
        /// File name.
        /// </summary>
        public string FileName;
        /// <summary>
        /// Size of file.
        /// </summary>
        public int FileSize;
        /// <summary>
        /// Duration in milliseconds.
        /// </summary>
        public int DurationMilliseconds;
        /// <summary>
        /// Video format description string.
        /// </summary>
        public string VideoFormat;
        /// <summary>
        /// Video codec description string.
        /// </summary>
        public string VideoCodec;
        /// <summary>
        /// Audio codec description string.
        /// </summary>
        public string AudioCodec;
        /// <summary>
        /// Video original width in pixels.
        /// </summary>
        public int Width;
        /// <summary>
        /// Video original height in pixels.
        /// </summary>
        public int Height;
        /// <summary>
        /// Video bitrate.
        /// </summary>
        public int Bitrate;
        /// <summary>
        /// Video frames per seconds.
        /// </summary>
        public double Fps;
    }
}